package com.shelpe.services.sinbad.dao;

import com.shelpe.services.sinbad.model.RptCreative;
import com.shelpe.services.sinbad.model.RptCreativeExample;
import com.shelpe.services.sinbad.model.RptCreativeKey;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RptCreativeMapper {
	
    int countByExample(RptCreativeExample example);

    int deleteByExample(RptCreativeExample example);

    int deleteByPrimaryKey(RptCreativeKey key);

    int insert(RptCreative record);

    int insertSelective(RptCreative record);

    List<RptCreative> selectByExample(RptCreativeExample example);

    RptCreative selectByPrimaryKey(RptCreativeKey key);

    int updateByExampleSelective(@Param("record") RptCreative record, @Param("example") RptCreativeExample example);

    int updateByExample(@Param("record") RptCreative record, @Param("example") RptCreativeExample example);

    int updateByPrimaryKeySelective(RptCreative record);

    int updateByPrimaryKey(RptCreative record);
    
    List<RptCreative> selectReportsTrendByDate(RptCreativeExample example);
}